package com.software.seakdream.service;

import com.software.seakdream.entity.UserInfo;

import java.util.Date;
import java.util.List;

public interface UserInfoService {
    List<UserInfo> queryAllUser();
    UserInfo createUserInfo(UserInfo userInfo);

    UserInfo queryUserByPhone(String phone);

    UserInfo getUserInfo(String id);

    void setHeadshot(String userId, String headshot);

    UserInfo login(UserInfo user);

    void updateIfVip(String userId, String yes);

    void updateBeginTime(String userId, Date date);

    void updateEndTime(String userId, Date date);

    void setNickName(String userId, String nickName);

    void setLocation(String userId, String location);

    void setBirthday(String userId, String birthday);

    void setSex(String userId, String sex);

    void setDescription(String userId, String description);

    void updatePoints(String userId,Integer points);

    Integer getPointsById(String userId);
}
